#pragma once
#include "btversinfo.h"
#include "c:\program files\widcomm\btw dk\sdk\inc\btifclasses.h"

class CMySppCom :
	public CSppClient , public CSppServer
{
public:
	CMySppCom(void);
	~CMySppCom(void);

	void OpenConnection( BD_ADDR bda , char* szServiceName );

	void OnClientStateChange(BD_ADDR bda, DEV_CLASS dev_class, BD_NAME name, short com_port, SPP_STATE_CODE state);
	void OnServerStateChange(BD_ADDR bda, DEV_CLASS dev_class, BD_NAME name, short com_port, SPP_STATE_CODE state);
};
